<template>
	<!-- <h1>{{ modelValue }}</h1>
	<button @click="$emit('update:modelValue', modelValue + 1)">更新</button> -->
	<h1>{{ count }}</h1>
	<button @click="$emit('update:count', count + 1)">更新</button>
</template>

<script>
export default {
	name: 'HelloWorld',
	props: {
		// modelValue: Number,
		count: Number,
	},
	mounted() {
		console.log(this)
	},
}
</script>

<style scoped></style>
